\documentclass[12pt]{report}

\usepackage{fullpage}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{longtable}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMANDS THAT I USE TO DEFINE CONSTANTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\thetitle}{Software and the Law}
\newcommand{\theauthor}{\textsc{Bryan G. Estrada}}
\newcommand{\committeechair}{\textsc{Clark S. Turner}}
\newcommand{\committeeA}{\textsc{\ldots}}
\newcommand{\committeeB}{\textsc{\ldots}}
\newcommand{\theuniversity}{California Polytechnic State University}
\newcommand{\thecity}{San Luis Obispo}
\newcommand{\thedegree}{Master of Science in Computer Science}
\newcommand{\thedate}{June 2007}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMANDS FOR FOOTNOTES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\footnoteremember}[2]{
  \footnote{#2}
  \newcounter{#1}
  \setcounter{#1}{\value{footnote}}
}
\newcommand{\footnoterecall}[1]{
  \footnotemark[\value{#1}]
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% this is an environment so we can make wide figures and tables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{narrow}[2]{
  \begin{list}{}{
    \setlength{\topsep}{0pt}
    \setlength{\leftmargin}{#1}
    \setlength{\rightmargin}{#2}
    \setlength{\listparindent}{\parindent}
    \setlength{\itemindent}{\parindent}
    \setlength{\parsep}{\parskip}}
  \item[]}{\end{list}}

\begin{document}

\title{\thetitle}
\author{\theauthor}

\doublespace

\pagenumbering{roman}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TITLE PAGE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{titlepage}
\thispagestyle{empty}
\begin{center}

\textsc{\LARGE \thetitle}\\[4cm]

A Thesis\\
Presented to\\
the Faculty of \theuniversity\\
\thecity\\[4cm]

In Partial Fulfillment\\
of the Requirements for the Degree\\
\thedegree

\vfill
by\\
\theauthor\\
\thedate
\end{center}

\end{titlepage}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COPYRIGHT AUTHORIZATION PAGE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{center}
\textsc{\large Authorization for Reproduction\\of Master's Thesis}\\[3cm]
\end{center}

\noindent I grant permission for the reproduction of this thesis in its entirety
or any of its parts, without further authorization from me.\\[4cm]

\singlespace
\noindent\makebox[4in]{\hrulefill}\\
Signature\\[2cm]

\noindent\makebox[4in]{\hrulefill}\\
Date
\doublespace
\newpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SIGNATURE PAGE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{center}
The thesis of \theauthor,\\
``\textsc{\large \thetitle}'',\\
is approved.\\[4cm]
\end{center}

\singlespace
\noindent\makebox[4in]{\hrulefill}\\
Professor \committeeA\\[2cm]

\noindent\makebox[4in]{\hrulefill}\\
Professor \committeeB\\[2cm]

\noindent\makebox[4in]{\hrulefill}\\
Professor \committeechair, Committee Chair\\[4cm]

\doublespace

\newpage

\begin{center}\textsc{\large Abstract}\\[1cm]\end{center}
\addcontentsline{toc}{chapter}{Abstract}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed vel massa.
Pellentesque euismod ipsum et magna. Aenean posuere ligula sed eros. In hac
habitasse platea dictumst. Duis dapibus tempus quam. Aenean tincidunt semper
urna. Nunc in libero ut nibh elementum laoreet. Etiam laoreet nunc sed mi.
Nullam ligula risus, gravida eget, sagittis sit amet, interdum a, lacus.
Phasellus non risus. Aenean est.

\newpage

\begin{center}\textsc{\large Acknowledgements}\\[1cm]\end{center}
\addcontentsline{toc}{chapter}{Acknowledgements}
I would like to express the utmost gratitude to Professor Clark Turner. His
enthusiasm has been inspiring and his insights invaluable. I owe much of my
success, both academic and professional, to his genuine encouragement and
positive influence.

I also would like to acknowledge the support and encouragement of my friends
during times of distress and decision-making. Danielle, Liz, Jonathan, Chris,
and Christina--each of whom has provided counsel in more ways than one.

Finally, I would like to thank my parents, Jim and Lourdes. Without their
support and direction I would not be the person I have become. I hope you are
proud.


\tableofcontents
\listoffigures\addcontentsline{toc}{chapter}{List of Figures}

\input{intro}
\input{background}
\input{motivation}
\input{juxtapose}
\input{conclusion}

\appendix
\input{secode}
\input{case}

\bibliographystyle{acm}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{references}

\end{document}
